<?php
namespace app\common\validate;

use think\Validate;

class Spec extends Validate{
    protected $rule = [
        'spec_name'=>'require'
    ];

    protected $message = [
        'spec_name.require'=>'请输入规格名称'
    ];

}